package com.sh.data.engine.application.model.dto.normalization.standard;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author boyue.wjl
 */
@Schema
@Data
public class DictionaryDetailResponse {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "字典名称（英文）")
    private String dictNameEn;

    @Schema(description = "字典名称（中文）")
    private String dictNameCn;

    @Schema(description = "字典分组id")
    private Long dictDirId;

    @Schema(description = "发布状态 1已发布 0未发布")
    private Integer releaseStatus;

    @Schema(description = "字典类型 0自建 1引用")
    private Integer dictType;

    @Schema(description = "业务定义（备注）")
    private String remark;

    @Schema(description = "归属部门id")
    private Long departmentId;

    @Schema(description = "数据类型")
    private String dictDataType;

    @Schema(description = "数据长度")
    private Integer dictDataLength;

    @Schema(description = "度量单位")
    private String dictDataUnit;

    @Schema(description = "允许为空 0-否 1-是")
    private Integer allowNull;

    @Schema(description = "允许重复 0-否 1-是")
    private Integer allowDuplicate;

    @Schema(description = "取值范围json")
    private String dictDataRangeJson;

    @Schema(description = "正则表达式")
    private String dictDataPattern;

    @Schema(description = "枚举值json")
    private String dictDataEnumValueJson;

    @Schema(description = "业务属性json")
    private String bizPropertiesJson;
}
